Repository navigation
hydrogen/Bump cli-hydrogen to 13.1.0 - #8997
Merged
Merged
Conversation
isaacroldan
approved these changes
Oct 23, 2026
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR: Shopify CLI picks up
@shopify/cli-hydrogen13.1.0, so Hydrogen commands ship typed JSON output (--json,--json-schema,--no-input) alongside the rest of the CLI in 5.0.What changed
@shopify/cli-hydrogenfrom13.0.6to13.1.0-j/--json,--no-input,--no-colorand--verbose, and their help includes the result schema. That's where most of the diff comes from.@shopify/cli, since this adds--jsonto existing commands for the first time (JSON output contract)The lockfile gets smaller: 13.1.0 moves to
@oclif/core4.8.3, the version the rest of the CLI already uses, and no longer depends on@shopify/plugin-cloudflare, so the old@oclif/core3.26.5 tree goes away.@shopify/cli-kitstill links to the workspace package through the existing@shopify/cli-hydrogen>@shopify/cli-kitoverride, so 13.1.0's exact4.9.0pin doesn't add a second copy.No stable branch PR. This is meant to go out with 5.0.
Release notes
build,check routes,codegen,customer-account-push,deploy,env list/pull/push,generate route(s),init,link,list,login,logout,setup(includingcss,markets,vite),shortcut,unlink, andupgrade. Long-running commands (dev,preview,debug cpu) only get--json-schema.--no-inputdisables prompts and browser authentication, separately from--json.deployandenv list/pull, partialinitfailures, andshortcutwhen no shell can be configured.hydrogen devtooling routes (GraphiQL, Subrequest Profiler) only respond to requests from the machine running the dev server.Full release: https://github.com/Shopify/hydrogen/releases/tag/%40shopify/cli-hydrogen%4013.1.0
Verification
pnpm refresh-manifests,pnpm build-dev-docs)shopify hydrogen env list --json-schemaprints the typedResult/Error/Eventschemashopify hydrogen env list --json --no-inputoutside a Hydrogen project prints one{"error": {...}}document on stdout and exits 1